package com.pojo.Hua;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Receipts {
  private Long id;
  private Long receiptsType;
  private String receiptsTypeName;
  private String receiptsId;
  private String materialName;
  @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
  private Date receiptsDate;
  private Long receiptsMaterialId;
  private String receiptsBatchCode;
  private Long receiptsSurplusOrLoss;
  private Long receiptsSurplusOrLossNums;
  private BigDecimal receiptsSurplusOrLossPrice;
  private String receiptsRemark;
  private String receiptsPrincipal;
}
